/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package tetris.model;

import java.util.ArrayList;

/**
 * Класс фигуры в форме буквы О.
 * @author vadim
 */
public class OFigure extends Figure {

    /**
     * Конструктор. 
     */
    public OFigure() {
        _form = new ArrayList<boolean[]>();
        boolean[] row = {false,false,false,false,false};
        _form.add(row.clone());
        row[1] = true;
        row[2] = true;
        _form.add(row.clone());        
        _form.add(row.clone());
        row[1] = false;
        row[2] = false;
        _form.add(row.clone());
        _form.add(row.clone());
    }
}
